package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDate;

@Data
@TableName("job_responsibility")
@ApiModel(value = "岗位职责目标责任书")
public class JobResponsibility {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "部门")
    private String department;

    @ApiModelProperty(value = "入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate entryDate;

    @ApiModelProperty(value = "岗位")
    private String position;

    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "岗位职责列表(JSON字符串)")
    private String responsibilities;

    @ApiModelProperty(value = "岗位目标列表(JSON字符串)")
    private String goals;

    @ApiModelProperty(value = "签名")
    private String signature;

    @ApiModelProperty(value = "签署日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate signDate;
}